function overlined(text){
    return `${text}\u0305`
}

console.log(overlined('o'));